package com.swg.springcloud.mapper;

import com.swg.springcloud.pojo.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @description:
 * @author: swg
 * @create: 2021-12-11 14:56
 **/
public interface PaymentMapper {
    /**
     * 新增
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 查询
     * @param id
     * @return
     */
    Payment getPaymentById(@Param("id")Long id);
}
